<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <var id="app">
    <h2 v-text="message"></h2><!--注意v-text在h2前面的大于号前不在标题内-->
    <h2 v-text= "info"></h2>
    <h2>{{info+"adf"}}</h2>
</var>
    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
    <SCript>
        var app = new Vue({
            el: "#app",
            data: {
                message: "test",
                info: "前端后端"
            }
        })
    </SCript>
</body>

</html>